package com.boot4g.admin.module.publish.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.boot4g.entity.PublishEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chenjinjie
 * @email guangyaoliangzijie@163.com
 * @date 2018-03-07 14:27:41
 */
@Mapper
@Repository
public interface PublishDao extends BaseMapper<PublishEntity> {
    public List<PublishEntity> selectByPage(Pagination page, @Param("cm") Map<String, Object> params);
}
